/**
 * 
 */
package com.lvan.controller.system;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.lvan.service.LoadSysInfo;

/**
 * @author Stern He<br>
 * 2013-9-24<br>
 * @version 1.0.0.0 
 */
@Controller
public class SettingController {
    @Autowired
    @Qualifier("sysInfo")
    private LoadSysInfo loadSysInfo;
    
    @RequestMapping(value="/refresh")
    public String refreshSysParams() {
        loadSysInfo.init();
        return "main";
    }

}
